<%@ page contentType="text/html;charset=utf-8" %>
<html>

<head>
    <title>Форма входа</title>
    <style type="text/css">
        <%@include file='CSS/style.css' %>
    </style>

</head>

<body>
<div class="page">
    <div class="authorization auth_and_reg">
        <form class="authorization_form" name="login_form" action="/" method="post">
            <div class="form_title font_large_light">Вход</div>
            <div class="login_block">
                <div class="title font_middle_bold">Логин</div>
                <div class="input_block">
                    <input class="font_middle" type="text" name="login">
                </div>
            </div>
            <div class="password_block">
                <div class="title font_middle_bold">Пароль</div>
                <div class="input_block">
                    <input class="font_middle" type="password" name="password">
                </div>
            </div>

            <div class="enter_button_block" >
                <div class="button font_middle_bold" onclick="document.login_form.submit()">Войти</div>
            </div>
            <div class="enter_button_block" >
                <div class="button font_middle_bold" onclick="document.to_reg_form.submit()">Зарегистрироваться</div>
            </div>
        </form>
        <form action="/register/" name="to_reg_form" method="get">

        </form>
        <div style="text-align: center; color: #ff0000"><p>${invalid_log_or_pass}</p></div>

    </div>
</div>

</body>

</html>